package Lab02.test07;


public class Test {
    public static void main(String[] args) {
        Person P = new Person();
        P.age = 18;
        P.name = "姓名：方然";
        P.id = "身份证号码：513637199708061329";
        Student S = new Student();
        S.age = 18;
        S.name = "姓名：方然";
        S.id = "身份证号码：513637199708061329";
        S.School_name = "学校：南京大学";
        S.sno = "学号：1606101199";
        System.out.println(P.getString());
        System.out.println(S.getString());
    }

}

